home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cato
/
Xm
/
XmClipboardInquirePendingItems.z
/
XmClipboardInquirePendingItems
Wrap
Text File
|
1998-10-20
|
7KB
|
133 lines
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIIttttUUUUeeeeNNNNmmmmIIIIssssXXXX((((3333SSSSXXXXXXXXyyyymmmm))))ssssCCCCttttlllleeeeiiiimmmmppppbbbbVVVVooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIItttteeeemmmmssss((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIItttteeeemmmmssss - A clipboard function that
returns a list of _d_a_t_a__i_d/_p_r_i_v_a_t_e__i_d pairs
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>>
####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////CCCCuuuuttttPPPPaaaasssstttteeee....hhhh>>>>
iiiinnnntttt XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIItttteeeemmmmssss ((((_d_i_s_p_l_a_y, _w_i_n_d_o_w, _f_o_r_m_a_t__n_a_m_e,
_i_t_e_m__l_i_s_t, _c_o_u_n_t))))
DDDDiiiissssppppllllaaaayyyy * _d_i_s_p_l_a_y;;;;
WWWWiiiinnnnddddoooowwww _w_i_n_d_o_w;;;;
cccchhhhaaaarrrr * _f_o_r_m_a_t__n_a_m_e;;;;
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddPPPPeeeennnnddddiiiinnnnggggLLLLiiiisssstttt* _i_t_e_m__l_i_s_t;;;;
uuuunnnnssssiiiiggggnnnneeeedddd lllloooonnnngggg * _c_o_u_n_t;;;;
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents version 1.2 of the Motif library.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIItttteeeemmmmssss returns a list of
_d_a_t_a__i_d/_p_r_i_v_a_t_e__i_d pairs for the specified format name. A
data item is considered pending if the application
originally passed it by name, the application has not yet
copied the data, and the item has not been deleted from the
clipboard. The application is responsible for freeing the
memory provided by this function to store the list. To free
the memory, call XXXXttttFFFFrrrreeeeeeee.
This function is used by an application when exiting, to
determine if the data that is passed by name should be sent
to the clipboard.
_d_i_s_p_l_a_y Specifies a pointer to the DDDDiiiissssppppllllaaaayyyy structure
that was returned in a previous call to
XXXXOOOOppppeeeennnnDDDDiiiissssppppllllaaaayyyy or XXXXttttDDDDiiiissssppppllllaaaayyyy.
_w_i_n_d_o_w Specifies a widget's window ID that relates the
application window to the clipboard. The
widget's window ID can be obtained by using
XXXXttttWWWWiiiinnnnddddoooowwww. The same application instance should
pass the same window ID to each of the clipboard
functions that it calls.
_f_o_r_m_a_t__n_a_m_e Specifies a string that contains the name of the
format for which the list of data ID/private ID
pairs is to be obtained.
_i_t_e_m__l_i_s_t Specifies the address of the array of data
ID/private ID pairs for the specified format
Page 1 (printed 4/30/98)
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIIttttUUUUeeeeNNNNmmmmIIIIssssXXXX((((3333SSSSXXXXXXXXyyyymmmm))))ssssCCCCttttlllleeeeiiiimmmmppppbbbbVVVVooooaaaarrrrddddIIIInnnnqqqquuuuiiiirrrreeeePPPPeeeennnnddddiiiinnnnggggIIIItttteeeemmmmssss((((3333XXXX))))
name. This argument is a type
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddPPPPeeeennnnddddiiiinnnnggggLLLLiiiisssstttt. The application is
responsible for freeing the memory provided by
this function for storing the list.
_c_o_u_n_t Specifies the number of items returned in the
list. If there is no data for the specified
format name, or if there is no item on the
clipboard, this argument equals zero.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
CCCClllliiiippppbbbbooooaaaarrrrddddSSSSuuuucccccccceeeessssssss
The function is successful.
CCCClllliiiippppbbbbooooaaaarrrrddddLLLLoooocccckkkkeeeedddd
The function failed because the clipboard was
locked by another application. The application
can continue to call the function again with the
same parameters until the lock goes away. This
gives the application the opportunity to ask if
the user wants to keep trying or to give up on
the operation.
RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
XXXXmmmmCCCClllliiiippppbbbbooooaaaarrrrddddSSSSttttaaaarrrrttttCCCCooooppppyyyy((((3333XXXX)))).
Page 2 (printed 4/30/98)